<template>
  <div>
    <p :style="{ fontSize: f + 'px' }" @click="f += 10">我是点击字体放大</p>
  </div>
</template>

<script>
export default {
  name: "MyBig",
  data() {
    return { f: 16 };
  },
};
</script>

<style>
</style>
